module.exports = (app)=>{
    const nm = "note";
    const { router, controller } = app;
    router.post(`/api/app/${nm}/add`, controller[nm].add);
    router.post(`/api/app/${nm}/remove`, controller[nm].remove);
    router.post(`/api/app/${nm}/update`, controller[nm].update);
    router.get(`/api/app/${nm}/list`, controller[nm].list);
    router.get(`/api/app/${nm}/info`, controller[nm].info);
    router.get(`/api/app/${nm}/groupByTags`,controller[nm].groupByTags);
}
